import request from '@/utils/request'

// 查询商品日志列表
export function listStoreProductLog(query) {
  return request({
    url: '/system/storeProductLog/list',
    method: 'get',
    params: query
  })
}

// 查询商品日志详细
export function getStoreProductLog(id) {
  return request({
    url: '/system/storeProductLog/' + id,
    method: 'get'
  })
}

// 新增商品日志
export function addStoreProductLog(data) {
  return request({
    url: '/system/storeProductLog',
    method: 'post',
    data: data
  })
}

// 修改商品日志
export function updateStoreProductLog(data) {
  return request({
    url: '/system/storeProductLog',
    method: 'put',
    data: data
  })
}

// 删除商品日志
export function delStoreProductLog(id) {
  return request({
    url: '/system/storeProductLog/' + id,
    method: 'delete'
  })
}
